cmake_minimum_required (VERSION 2.8)

project (demo)

set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

option (WWW1 "print one message" OFF)
option (WWW2 "PRINT another message" OFF)

if (WWW1)
    add_compile_options (-DWWW1)
endif ()

if (WWW2)
    add_compile_options(-DWWW2)
endif ()

add_executable (main main.c)

